// file:api.js
// 1、导入axios以及拦截器
import service from './request'

export const login = (data) => {
    return service({
        url: '/user/login',
        method: 'post',
        data
    })
};
